package com.eu.ebpm.engine.query;

import java.util.List;

public class Page<T> {

	private int totalRows;
	
	private List<T> data;

	public Page(int totalRows, List<T> data) {
		this.totalRows = totalRows;
		this.data = data;
	}

	public int getTotalRows() {
		return totalRows;
	}

	public void setTotalRows(int totalRows) {
		this.totalRows = totalRows;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}
	
}
